import instance from "../utils/request";
// 验证码
export function captcha() {
    return instance({
        url: '/captcha/api/math',
        method: 'get',

    })
}
// 登入
export function loginApi(data) {
    return instance({
        url: '/api/common/auth/login',
        method: 'post',
        data,
    })
}